package com.ebelter.myehc.ui.activitys;

import android.support.v4.app.Fragment;

import com.ebelter.btcomlib.bases.activity.BaseActivity;
import com.ebelter.btcomlib.bases.fragment.FragmentUtil;
import com.ebelter.btcomlib.utils.StatusBarUtil;
import com.ebelter.btcomlib.utils.StatusbarColorUtils;


public abstract class EhcBaseActivity extends BaseActivity {
    @Override
    protected void initView() {
        StatusBarUtil.setDarkStatusIcon(this,true);
        StatusbarColorUtils.setStatusBarDarkIcon(this,true);
    }


    protected void replaceFragment(Fragment fragment,int containid){
        FragmentUtil.replaceFragment(getSupportFragmentManager(),containid,fragment);
    }



}
